import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.config.productionTip = false
Vue.use(ElementUI)
import axios from 'axios'
import VueAxios from 'vue-axios'
Vue.use(VueAxios, axios) 
import ImageViewer from 'vue2-viewer';
Vue.use(ImageViewer);

let vueThis = new Vue({
  router,
  render: h => h(App),
  data () {
    return {
      baseUrl:"http://127.0.0.1:8080/",
      socketUrl:"ws://127.0.0.1:8080/chat",
      isOpen:false,
      imageUrl:
      "https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg",
      userName: "sdsd",
    }
  }
}).$mount('#app')
export default vueThis
